﻿using AzukiMap.Renderer;
using AzukiMap.Tools;

namespace AzukiMap.Layer
{
    public class VectorLayerTheme 
    {
        int _id;
        string _expression;
        IVectorStyle _style;

        public int Themeid
        {
            get { return _id; }
            set { _id = value; }
        }

        public string Expression
        {
            get { return _expression; }
            set { _expression = value; }
        }

        public IVectorStyle Style
        {
            get { return _style; }
            set { _style = value; }
        }

        public VectorLayerTheme()
        {
        }

        public VectorLayerTheme(string expr, IVectorStyle st)
        {
            _expression = expr;
            _style = st;
            _id = Serial.GetSerialNumber();
        }
    }
}
